<template>
  <div>
    <el-menu :default-active="activeIndex2" class="el-menu-demo" mode="horizontal" background-color="#1e6bfe"
      style="width: 970px;" text-color="#fff" active-text-color="#ffd04b" @select="handleSelect" router>
      <el-menu-item index="/home/everyView/printSetup/expressSheet?ID=1&type=1">货区条形码</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheet?ID=2&type=1">库位条形码</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheetTable?ID=3&type=2">入库单</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheet?ID=4&type=1">商品标签</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheetTable?ID=5&type=2">拣货单</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheet?ID=6&type=1">快递面单</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheetTable?ID=7&type=2">出库单</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheetTable?ID=8&type=2">移位单</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheetTable?ID=9&type=2">调拨单</el-menu-item>
      <el-menu-item index="/home/everyView/printSetup/expressSheetTable?ID=10&type=2">盘货单</el-menu-item>
    </el-menu>
  </div>
  <router-view></router-view>
</template>

<script setup>
import { ref } from 'vue'
const handleSelect = (key, keyPath) => {
  console.log(key, keyPath)
}
const activeIndex2 = ref('1')
</script>
